#pragma once

#include "..\..\HubCapMan\LineCapPlug.h"
#include "..\..\..\src\DDPublic\PlugReg.h"
#include "xtk.h"

//#define _DKQ_TEST

#ifdef _DKQ_TEST
#include "..\..\DDPublic\DDLogInfo.h"
#endif


class xhX88Cap : public LineCapPlug, public PlugReg
{
public:
	xhX88Cap(void);
	~xhX88Cap(void);

public: 
	//get this plug description
	virtual int GetPlugDescription( zkCapDevDesc *pDescs,int &nCount );
	virtual int SelectCap( zkCapDevDesc *pDesc );

public:
	//must init
	virtual int Initialize();
	//
	virtual int GetLineBitInfo(zkLineBitInfo *pLineBit);
	//set capture parameter
	virtual int OpCaptureParam(void *pVoid = NULL);
	//
	virtual int StartCapture();
	//stop active
	virtual int StopCapture();
	//
	virtual int GetLinePixelCount(int &nPixelCount);
	//
	virtual int GetLinePixel(void *pData);



public:
	void UnInit();

public:

private:
	int SetCamearParam();
	




private:
	XtkDev *m_pXtkDev;
	

private:
    BYTE m_szTemp[128];


private:
		


private:
	

public:


private:

#ifdef _DKQ_TEST
	DDLogInfo m_xLogInfo;
#endif

};
